* {
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: .16rem 0;
    background-color: #efefef;
}

.empty {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    img {
        width: 4.14rem;
        height: 2.74rem;
    }
    p {
        font-size: .4rem;
        text-align: center;
        color: #888;
        margin-top: .4rem;
    }
}

.ui-commnet {
    display: block;
    width: 100%;
    padding: .12rem .46rem;
    background-color: #fff;
    .ui-commnet-item {
        display: block;
        position: relative;
        width: 100%;
        height: 2.08rem;
        padding-left: 1.24rem;
        &:after {
            content: '';
            display: block;
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            height: 1px;
            background-color: #EFEFEF;
            transform: scale(1, 0.5);
            transform-origin: center center;
        }
        &:nth-last-child(1) {
            &:after {
                content: '';
                display: block;
                position: absolute;
                left: 0;
                bottom: 0;
                width: 0;
                height: 0;
            }
        }
        .ui-item-icon {
            display: block;
            position: absolute;
            top: 0;
            left: 0;
            width: 1.24rem;
            height: 1.48rem;
            background-repeat: no-repeat;
            background-position: left center;
            background-size: .88rem .88rem;
        }
        .logo {
            background-image: url(../../image/message/logo.png);
        }
        .ui-item-content {
            display: block;
            position: relative;
            width: 100%;
            height: 1.5rem;
            padding-top: .2rem;
            .ui-item-title {
                display: flex;
                justify-content: space-between;
                width: 100%;
                height: .6rem;
                line-height: .6rem;
                font-size: .32rem;
                color: #232323;
                .comment-tap {
                    display: inline-block;
                    color: #9A57FF;
                }
            }
            .name {
                color: #9A57FF;
            }
            .ui-item-arrow {
                display: block;
                position: relative;
                width: 1.48rem;
                height: .32rem;
                line-height: .32rem;
                font-size: .28rem;
                color: #9C9C9C;
                padding-right: .28rem;
                &:after {
                    content: '>';
                    display: block;
                    position: absolute;
                    top: 0;
                    right: 0;
                    width: .2;
                    height: .28rem;
                    font-size: .28rem;
                    color: #9C9C9C
                }
            }
        }
        .ui-item-time {
            display: block;
            width: 100%;
            height: .64rem;
            height: .32rem;
            line-height: .32rem;
            font-size: .28rem;
            color: #9C9C9C;
        }
    }
}

.ui-popup {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 9;
    .ui-comment {
        display: block;
        position: absolute;
        width: 5.6rem;
        height: 5.8rem;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
        background-color: #fff;
        border-radius: .2rem;
        padding: .9rem .6rem;
        box-shadow: 0 3px 4px 2px rgba(0, 0, 0, 0.4);
        .ui-comment-avatar {
            display: block;
            position: absolute;
            top: -.8rem;
            left: 50%;
            margin-left: -.8rem;
            width: 1.6rem;
            height: 1.6rem;
            border: 2px solid #fff;
            border-radius: 50%;
            background-size: cover;
            background-position: center center;
            background-color: #eee;
            z-index: 99;
            background-image: url(../../image/message/logo.png)
        }
        .ui-comment-hide {
            display: block;
            position: absolute;
            top: 0;
            right: 0;
            width: 1rem;
            height: 1rem;
            background-repeat: no-repeat;
            background-size: .32rem .32rem;
            background-position: center center;
            background-image: url(../../image/account/hide.png);
        }
        .ui-comment-name {
            display: block;
            position: relative;
            width: 100%;
            height: .6rem;
            line-height: .6rem;
            font-size: .3rem;
            color: #333;
            text-align: center;
        }
        .ui-comment-title {
            display: block;
            position: relative;
            width: 100%;
            height: .6rem;
            line-height: .6rem;
            font-size: .3rem;
            color: #aaa;
            text-align: center;
            margin-bottom: .12rem;
            &:before {
                content: '';
                display: block;
                position: absolute;
                left: 50%;
                margin-left: 1rem;
                top: .28rem;
                width: 1.2rem;
                height: 1px;
                background-color: #aaa;
                transform: scale(1, 0.5);
                transform-origin: center center;
                z-index: 1;
            }
            &:after {
                content: '';
                display: block;
                position: absolute;
                right: 50%;
                margin-right: 1rem;
                top: .28rem;
                bottom: 0;
                width: 1.2rem;
                height: 1px;
                background-color: #aaa;
                transform: scale(1, 0.5);
                transform-origin: center center;
                z-index: 1;
            }
        }
        .ui-comment-list {
            display: block;
            height: 2.54rem;
            width: 3.6rem;
            margin: 0 auto;
            .ui-comment-item {
                display: block;
                float: left;
                width: 1rem;
                height: 1.2rem;
                margin-right: .3rem;
                &:nth-child(3n) {
                    margin-right: 0;
                }
                .ui-comment-number {
                    display: block;
                    width: 100%;
                    height: .6rem;
                    line-height: .3rem;
                    color: #aaa;
                    background-color: #ddd;
                    font-size: .3rem;
                    text-align: center;
                    border-radius: .12rem;
                    padding: .16rem 0;
                }
                .select {
                    background-color: #571A92;
                    color: #fff;
                }
                .ui-comment-tap {
                    display: block;
                    width: 100%;
                    height: .6rem;
                    line-height: .6rem;
                    color: #555;
                    font-size: .3rem;
                    text-align: center;
                }
            }
        }
        .ui-comment-btn {
            display: block;
            width: 100%;
            height: 1rem;
            line-height: 1rem;
            color: #F098EF;
            font-size: .3rem;
            text-align: center;
            border-top: 1px solid #ddd;
        }
    }
}